var runtime.newmHandoff
21 uses
runtime (current package)
proc.go#L2728: var newmHandoff struct {
proc.go#L2781: lock(&newmHandoff.lock)
proc.go#L2782: if newmHandoff.haveTemplateThread == 0 {
proc.go#L2785: mp.schedlink = newmHandoff.newm
proc.go#L2786: newmHandoff.newm.set(mp)
proc.go#L2787: if newmHandoff.waiting {
proc.go#L2788: newmHandoff.waiting = false
proc.go#L2789: notewakeup(&newmHandoff.wake)
proc.go#L2791: unlock(&newmHandoff.lock)
proc.go#L2839: if !atomic.Cas(&newmHandoff.haveTemplateThread, 0, 1) {
proc.go#L2866: lock(&newmHandoff.lock)
proc.go#L2867: for newmHandoff.newm != 0 {
proc.go#L2868: newm := newmHandoff.newm.ptr()
proc.go#L2869: newmHandoff.newm = 0
proc.go#L2870: unlock(&newmHandoff.lock)
proc.go#L2877: lock(&newmHandoff.lock)
proc.go#L2879: newmHandoff.waiting = true
proc.go#L2880: noteclear(&newmHandoff.wake)
proc.go#L2881: unlock(&newmHandoff.lock)
proc.go#L2882: notesleep(&newmHandoff.wake)
proc.go#L5313: if atomic.Load(&newmHandoff.haveTemplateThread) == 0 && GOOS != "plan9" {
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |